{% extends theme("layout.html") %}

{% from "macros/_paginate.html" import paginate %}
{% from "macros/_post.html" import render_post with context %}

{% set selected_tab="deadpool" %}

{% block extrahead %}
<link href="{{ url_for('feeds.deadpool') }}" rel="alternate" type="application/atom+xml" title="newsmeme - deadpool" /> 
{% endblock %}


{% block content %}
{% if page_obj.total %}

<ul class="posts">
{% for post in page_obj.items %}
<li{% if post.score < 1 %} class="faded"{% endif %}>
    {{ render_post(post) }}
</li>

{% endfor %}
</ul>

{% else %}
{{ _("Nobody's posted anything yet.") }}
{% endif %}

{{ paginate(page_obj, page_url) }}

{% endblock %}
